package com.hjt.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjt.common.utils.PageUtils;
import com.hjt.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author huangjingtai
 * @email 970075985@qq.com
 * @date 2021-09-08 16:15:19
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttrList(List<ProductAttrValueEntity> productAttrValueEntities);

    List<ProductAttrValueEntity> listBySpuId(Long spuId);

    void updateBatchBySpuId(Long spuId, List<ProductAttrValueEntity> attrValueEntities);
}

